﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChangePartsAcceptDate.aspx.cs" Inherits="IHISCETeim.Web.AgentSys.SvrMgr.ChangePartsAcceptDate" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>处理配件到货时间情况</title>   
     <style type="text/css">
        .mytable td.x-table-layout-cell {
            padding:0px 5px;
        }
 
        .mytable td.f-layout-table-cell {
            padding:0px 5px;
        }
    </style>
</head>
<body>
     <form id="form1" runat="server">
    <f:PageManager ID="PageManager1" AutoSizePanelID="AChangePartsSendDatePanel" runat="server" />
    <f:Panel runat="server" ID="AChangePartsSendDatePanel"  ShowBorder="false" ShowHeader="false" Layout="Absolute" AutoScroll="true" >
        <Toolbars>
            <f:Toolbar ID="Toolbar1" runat="server" Position="Bottom" >
                <Items>
                    <f:ToolbarFill runat="server"></f:ToolbarFill>
                    <f:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server" Text="关闭"></f:Button>
                    <f:ToolbarSeparator ID="ToolbarSeparator2" runat="server"></f:ToolbarSeparator>
                    <f:Button ID="btnSaveClose" ValidateForms="ChangePartsSendDateForm" Icon="SystemSaveClose" runat="server" Text="提交" OnClick="btnSaveClose_Click" >
                    </f:Button>
                    </Items>
                </f:Toolbar>
        </Toolbars>
        <Items>
            <f:Form ID="ChangePartsSendDateForm" ShowBorder="false" ShowHeader="false" runat="server"   BodyPadding="2px" BoxConfigChildMargin="5px" Title="SimpleForm" >               
                <Items>  
                    
                            <f:Panel runat="server" ID="Panel1" Title="1.品情基本信息" ShowBorder="false"  BodyPadding="5px"  ShowHeader="true"  Layout="Table"  TableConfigColumns="3" >
                                                <Items>   
                                                   <f:TextBox runat="server" ID="ClaimsNumber" Label="品情号" Readonly="true" Text=""></f:TextBox>
                                                    <f:DatePicker runat="server" ID="IssueDate" Label="发行日期"  Readonly="true"></f:DatePicker>                                  
                                                    <f:TextBox runat="server" ID="SerialNumber" Label="机号"  Readonly="true" ></f:TextBox>
                                                    <f:DatePicker runat="server" ID="FaultDate" Label="故障日"  Readonly="true"></f:DatePicker>
                                                    <f:TextBox runat="server" ID="MachineType" Label="机型" Readonly="true"></f:TextBox>
                                                    <f:TextBox runat="server" ID="WorkHour"  Label="工作小时" Readonly="true"></f:TextBox>                                    
                                                    <f:TextBox runat="server" ID="DamagePartsNumber" Label="损坏部品序列号或钢号" Readonly="true" TableColspan="2" ></f:TextBox>                                        
                                                </Items>
                             </f:Panel>
                             <f:Panel runat="server" ID="Panel5" Title="2.配件需求情况" BodyPadding="0px" Layout="Fit" ShowHeader="true" ShowBorder="false">
                                                 <Items>
                                                     <f:Grid runat="server" ID="grdAgentQltyParts" ShowHeader="false" ShowBorder="false" OnRowDataBound="grdAgentQltyParts_RowDataBound" >
                                                         <Columns>
                                                             <f:RowNumberField Width="50px" TextAlign="Center" />
                                                             <f:BoundField runat="server" HeaderText="配件号"  EnableColumnHide="false" EnableHeaderMenu="false" Width="120" DataField="ItemCode" />
                                                              <f:BoundField runat="server" HeaderText="配件名"  EnableColumnHide="false" EnableHeaderMenu="false" Width="120" DataField="Dscription" />
                                                              <f:BoundField runat="server" HeaderText="数量" EnableColumnHide="false" EnableHeaderMenu="false" DataField="Quantity" />
                                                              <f:BoundField runat="server" HeaderText="配件需求"  EnableColumnHide="false" EnableHeaderMenu="false" DataField="PartsDemand" /> 
                                                              <f:CheckBoxField runat="server" HeaderText="需要旧件返回"  EnableColumnHide="false" EnableHeaderMenu="false" DataField="InStock" />   
                                                             <f:BoundField runat="server" HeaderText="运输方式"  EnableColumnHide="false" EnableHeaderMenu="false" DataField="U_ExpressMode" />
                                                              <f:TemplateField HeaderText="单号"    >
                                                                <ItemTemplate>
                                                                    <asp:Label ID="lbU_InvoiceNum" runat="server"></asp:Label>
                                                                </ItemTemplate>
                                                            </f:TemplateField>                                     
                                                         </Columns>
                                                     </f:Grid>
                                                 </Items>
                            </f:Panel>
                            <f:Panel runat="server" ID="Panel2" Title="3.配件到货情况" BodyPadding="5px"   ShowHeader="true"  ShowBorder="false"  Layout="Table"  TableConfigColumns="2" >
                                       <Items> 
                                            <f:DatePicker runat="server" ID="AgentAcceptDate" Label="配件到货日期"   ></f:DatePicker>
                                            <f:TimePicker runat="server" ID="AgentAcceptDateTimePicker" Label="时间" MinTimeText="08:00"></f:TimePicker>

                                            <f:Panel runat="server" ID="Panel4" ShowBorder="false" ShowHeader="false" Layout="Table" Width="500px" CssClass="mytable" TableColspan="2" TableConfigColumns="2" >
                                            <Items>                                
                                                <f:Label runat="server" TableColspan="2" Text="照片或绘图说明:"></f:Label>
                                                <f:LinkButton runat="server" Text="删除图片1" ConfirmText="确定要删除此图片吗?" TabIndex="1" OnClick="DelteImage_Click" ></f:LinkButton> 
                                                <f:LinkButton runat="server" Text="删除图片2" ConfirmText="确定要删除此图片吗?" TabIndex="2" OnClick="DelteImage_Click" ></f:LinkButton>
                                                <f:Image ID="imgRelatively1" CssClass="photo" ImageUrl="~/res/blank.png" ShowEmptyLabel="false" runat="server" ImageWidth="200" ImageHeight="150" ></f:Image>
                                                <f:Image ID="imgRelatively2" CssClass="photo" ImageUrl="~/res/blank.png" ShowEmptyLabel="false" runat="server"  ImageWidth="200" ImageHeight="150"></f:Image>                              
                                                <f:FileUpload runat="server" ID="filePhoto1"  ShowEmptyLabel="false" ButtonOnly="true" ButtonText="图片上传"  ButtonIcon="ImageAdd" AutoPostBack="true" OnFileSelected="filePhoto1_FileSelected" EmptyText="1" ></f:FileUpload>
                                                <f:FileUpload runat="server" ID="filePhoto2"  ShowEmptyLabel="false" ButtonOnly="true" ButtonText="图片上传"  ButtonIcon="ImageAdd" AutoPostBack="true" OnFileSelected="filePhoto1_FileSelected" EmptyText="2" ></f:FileUpload>
                                                <f:TextBox runat="server" Label="" ID="ImgTitle1" Required="true" ShowRedStar="true" Text="图1:铭牌"></f:TextBox>
                                                <f:TextBox runat="server" Label="" ID="ImgTitle2" Required="true" ShowRedStar="true" Text="图2:工作小时"></f:TextBox>

                                                <f:LinkButton runat="server" Text="删除图片3" ConfirmText="确定要删除此图片吗?" TabIndex="3" OnClick="DelteImage_Click" ></f:LinkButton> 
                                                <f:LinkButton runat="server" Text="删除图片4" ConfirmText="确定要删除此图片吗?" TabIndex="4" OnClick="DelteImage_Click" ></f:LinkButton>  
                                                <f:Image ID="imgRelatively3" CssClass="photo" ImageUrl="~/res/blank.png" ShowEmptyLabel="false" runat="server" ImageWidth="200" ImageHeight="150"></f:Image>
                                                <f:Image ID="imgRelatively4" CssClass="photo" ImageUrl="~/res/blank.png" ShowEmptyLabel="false" runat="server" ImageWidth="200" ImageHeight="150"></f:Image>
                                                <f:FileUpload runat="server" ID="filePhoto3"  ShowEmptyLabel="false" ButtonOnly="true" ButtonText="图片上传"   ButtonIcon="ImageAdd" AutoPostBack="true" OnFileSelected="filePhoto1_FileSelected" EmptyText="3"></f:FileUpload>
                                                <f:FileUpload runat="server" ID="filePhoto4"  ShowEmptyLabel="false" ButtonOnly="true" ButtonText="图片上传"   ButtonIcon="ImageAdd" AutoPostBack="true" OnFileSelected="filePhoto1_FileSelected" EmptyText="4"></f:FileUpload>
                                                <f:TextBox runat="server" Label="" ID="ImgTitle3" Required="true" ShowRedStar="true" Text="图3:处理前照片"></f:TextBox>
                                                <f:TextBox runat="server" Label="" ID="ImgTitle4" Required="true" ShowRedStar="true" Text="图4:新旧件对比照片"></f:TextBox>

                                                <f:LinkButton runat="server" Text="删除图片5" ConfirmText="确定要删除此图片吗?" TabIndex="5" OnClick="DelteImage_Click" ></f:LinkButton> 
                                                <f:LinkButton runat="server" Text="删除图片6" ConfirmText="确定要删除此图片吗?" TabIndex="6" OnClick="DelteImage_Click" ></f:LinkButton>  
                                                <f:Image ID="imgRelatively5" CssClass="photo" ImageUrl="~/res/blank.png" ShowEmptyLabel="false" runat="server" ImageWidth="200" ImageHeight="150"></f:Image>
                                                <f:Image ID="imgRelatively6" CssClass="photo" ImageUrl="~/res/blank.png" ShowEmptyLabel="false" runat="server" ImageWidth="200" ImageHeight="150"></f:Image>
                                                <f:FileUpload runat="server" ID="filePhoto5"  ShowEmptyLabel="false" ButtonOnly="true" ButtonText="图片上传"   ButtonIcon="ImageAdd" AutoPostBack="true" OnFileSelected="filePhoto1_FileSelected" EmptyText="5"></f:FileUpload>
                                                <f:FileUpload runat="server" ID="filePhoto6"  ShowEmptyLabel="false" ButtonOnly="true" ButtonText="图片上传"   ButtonIcon="ImageAdd" AutoPostBack="true" OnFileSelected="filePhoto1_FileSelected" EmptyText="6"></f:FileUpload>
                                                <f:TextBox runat="server" Label="" ID="ImgTitle5" Required="true" ShowRedStar="true" Text="图5:处理后照片"></f:TextBox>
                                                <f:TextBox runat="server" Label="" ID="ImgTitle6" Required="true" ShowRedStar="true" Text="图6:服务人员与机器合影"></f:TextBox>

                                                <f:Label runat="server" TableColspan="2" Text="其它文件上传(不能超过10M)"></f:Label>
                                                <f:HyperLink runat="server" ID="fileOtherDownLoad" ShowLabel="false" Target="_block" Text="原文件下载"  ></f:HyperLink>
                                                 <f:LinkButton runat="server" Text="删除此文件(如果有)" ConfirmText="确定要删除此文件吗?" TabIndex="7" OnClick="DelteImage_Click" ></f:LinkButton>
                                                <f:FileUpload runat="server" ID="fileOther"   TableColspan="2"  ShowEmptyLabel="false"  ButtonOnly="true" ButtonText="重新上传" ShowLabel="false"   ButtonIcon="Add" AutoPostBack="true" OnFileSelected="fileOther_FileSelected" EmptyText="7"></f:FileUpload>

                                                <f:Label runat="server" EncodeText="false" Text="<div style='color:red; font-weight:bold;'>与机器合影照片中服务人员如无着工作服规范服务，将扣除1个工时费用 </div>" TableColspan="2"  ></f:Label>
                                            </Items>
                                         </f:Panel> 
                                           <f:Panel runat="server" ID="Panel3" ShowBorder="false" ShowHeader="false" Layout="Table"  TableConfigColumns="2" TableColspan="2" >
                                            <Items>
                                                <f:TextBox runat="server"  ID="ImgHY" TableColspan="2" Label="品情处理描述"  Text="" Width="500px"></f:TextBox>

                                                <f:DatePicker runat="server" ID="AgentRecoveryDate" Label="故障排除日期"   ></f:DatePicker>     
                                                <f:TimePicker runat="server" ID="AgentRecoveryDateTimePicker" Label="时间" MinTimeText="08:00"></f:TimePicker>  
                                                                                     
                                                <f:DatePicker runat="server" ID="PartsInDate" Label="旧件返还日期" TableColspan="1"  ></f:DatePicker>  
                                                <f:TimePicker runat="server" ID="PartsInDateTimePicker" Label="时间" MinTimeText="08:00"></f:TimePicker>
                                            </Items>
                                           </f:Panel>
                                                                                    
                                        </Items>
                           </f:Panel>
                                             
                               
                </Items>
            </f:Form>
        </Items>
    </f:Panel>
    </form>   
 
</body>
</html>